Which MIME type to compress? and what If I omit the `type` attribute from the HTML?
Posted
by
rockyraw
on Pro Webmasters
See other posts from Pro Webmasters
or by rockyraw
Published on 2014-04-02T00:17:29Z
Indexed on
2014/06/01
15:57 UTC
Read the original article
Hit count: 157
Per my request, my webhost had turned mod_deflate ON.
In my Cpanel I now have an "Optimize Website" button.
Inside that menu I could either choose:
"Compress all content" or "Compress the specified MIME types" with the following default MIME types: "text/html text/plain text/xml"
Which option should I choose and why?
If I choose option 2, which types should I add (is there a recommended list with the exact way they should be written)?
According to Google recommendations, I have omitted the
type="text/css"
attributes from all CSS references, as well as thetype="text/javascript"
attributes from all script references. Would this hinder the "gzipping" process?
© Pro Webmasters or respective owner